using System;
using System.Collections.Generic;
using System.Text;
using System.Windows;

namespace SCSFContrib.CompositeUI.WPF.FunctionalTest
{
	/// <summary>
	/// A base class for all functional tests.
	/// </summary>
	public abstract class FunctionalTest : UnitTest.UnitTest
	{
		/// <summary>
		/// Creates a <see cref="Window"/> with the specified content. The window will not appear in the taskbar, nor will it be visible in any
		/// way if shown.
		/// </summary>
		/// <param name="content">
		/// The content for the window.
		/// </param>
		/// <returns>
		/// The window.
		/// </returns>
		protected Window CreateWindow(object content)
		{
			Window window = new Window();
			window.ShowInTaskbar = false;
			window.WindowStyle = WindowStyle.None;
			window.Height = 0;
			window.Width = 0;
			window.Content = content;
			return window;
		}
	}
}
